/**
 * 
 */
package com.fish.service.user;

import java.util.List;
import java.util.Map;

import com.fish.common.constant.QueryPage;
import com.fish.common.tag.Pager;
import com.fish.user.po.User;

/**
 * @author damian
 *
 */
public interface UserService {
	public Pager<User> selectUserWithPaging(Map<String,Object> param);
	
	public Long insertUser(User user);
	
	public User selectUserById(String id);
	
	public boolean updateUser(User user);
	
	public boolean deleteUser(String id,String updateUserId);
	
	public Long queryUserCountByObject(User user);
	
	public List<User> queryUserByObject(User user,QueryPage queryPage);

	public User getUserByUser(User user);
}
